/*
	This class represents the Purchase Order Class for Employee	
	This class implements PurchaseOrder
*/
//modified by Akhila

// MOdified at Shruthi pc
//modified by shruti 2nd time
// Again modified by Rao


public class EmployeePO extends CommonPO implements PurchaseOrder {
	public EmployeePO(){
		this(0,'',0.0);
	}

	public EmployeePO(Long value1, String value2, Decimal value3){
		super(value1,value2,value3);
	}
	
    public void applyDiscount(){
		this.setAmount(this.getAmount() * .95); // 5% discount    	
    }

	public override void printObject(){
    	System.debug('EMPLOYEE PO OBJECT - ' + getObjectStr());	
    }
}